STEP 6: Now let's create and place our second gold stripe.

  • Go to and drag out a Rectangle.
  • Change the color from "blue" to "gold".
  • Change the width to 700.
  • Change the height to 100.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background_color("lightblue") # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 700, 100, "gold") sprite.turn_left(45)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)